
import {addApi} from '../../utils/http'

import Store from './Store';
import Test from './Test';
import stores from './store/index';
import Castles from './Castles';
import Tip from './Tip';
import CustomTip from './CustomTip';
import CreditEmail from './CreditEmail';
import OrderNotif from './OrderNotif';

//route
export default {
    store:Store,
    test:Test,
    castles:Castles,
    tip:Tip,
    customtip:CustomTip,
    creditemail:CreditEmail,
    ordernotif:OrderNotif
}

//store
export {
    stores
};

//api
addApi({
    'order/index':'/sellerapi/sales/order/index',
    'layoutList': '/sellerapi/desk/layout',
    'layoutSave': '/sellerapi/desk/layout/save',
    'layoutDetails': '/sellerapi/desk/layout/get',
    'layoutDelete': '/sellerapi/desk/layout/delete',
    'deskList': '/sellerapi/desk/desk',
    'seatList': '/sellerapi/desk/seat',
    'saveDesks': '/sellerapi/desk/desk/save',
    'deskDelete': '/sellerapi/desk/desk/delete',
    'saveSeats': '/sellerapi/desk/seat/save',
})
